(function (G) {
    const javaUrl = G.Storage.get('JAVAURL')
    G.vue({
        data: {
            content:''
        },
        methods: {
            getDetail(id){
                G.get(javaUrl+'/security/scinfo',{
                  id
                }).then(rej=>{
                  console.log(rej)
                  try {
                    this.setData({
                      content:rej.data.comm_content
                    })
                  } catch (error) {
                    
                  }
             
                  wx.setNavigationBarTitle({
                    title: rej.data.comm_title
                  })
      
        
                })
            },
        },
        mounted(opt) {
           this.getDetail(opt.id)
        }
    })
})(wx.$)